package cn.droidlover.xrecyclerview.demo.slice;

import cn.droidlover.xrecyclerview.demo.ResourceTable;
import ohos.agp.components.DependentLayout;
import ohos.agp.components.LayoutScatter;
import ohos.app.Context;

/**
 * 空白的页面
 */
public class EmptyComponent extends DependentLayout {


    public EmptyComponent(Context context) {
        super(context);
        setupComponent(context);
    }

    private void setupComponent(Context context) {

        LayoutScatter.getInstance(context).parse(ResourceTable.Layout_empty_component, this, true);
    }
}
